Tracking Pages
Nudge tracks views on a per-screen basis. To send the tracked views to Nudge's Dashboard, follow these steps:
If you want to listen to events triggered by the Nudge SDK, be sure to implement the NudgeGCallback
interface.
Connecting Your App
Add the Intent Filter
To enable Screenshot Mode, update your AndroidManifest.xml
with the following snippet:
<activity
android:name="com.nudgenow.nudgecorev2.core.NudgePairActivity"
android:exported="true"
android:launchMode="singleInstance">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="nudge-{APP_SCHEME_ID}"
android:host="nudgenow.com"
android:pathPattern="/.*/.*" />
</intent-filter>
</activity>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="{YOUR_APP_NAME}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
- Replace
{YOUR_APP_NAME}
with your package name. Example : com.example.appname - Replace
{APP_SCHEME_ID}
with the scheme ID you’ll find in the Nudge Dashboard (see below).
Capturing Screens
- Open the Nudge Dashboard and go to the Pages section in the sidebar.

-
Click
+ New Page
. A popup window will appear. -
In the popup, you will see your
App Scheme Id
. Add this{APP_SCHEME_ID}
in yourAndroidManifest.xml
file.

-
Scan the QR code shown in the popup using a mobile device that already has your app installed (with the updated manifest).
-
Open the generated URL, then tap “Launch App” to start your app in Screenshot Mode.

- In your app, you’ll see the Nudge logo at the top-left corner. Tap it to open a popup, then:
- Enter a name for the screen you want to capture.
- Tap “Save.” This sends all visible views to the Nudge Dashboard.


- Go back to the Nudge Dashboard in the Pages section and refresh. You’ll see your new screen and its tracked views.

That’s it! You can repeat this process to capture any screen in your app and manage them in the Nudge Dashboard.